package request

import (
	"gitcode.com/G-YT/ANN/server/model/common/request"
	"time"
)

type UserPluginPermissionSearch struct {
	CreatedAtRange    []time.Time `json:"createdAtRange" form:"createdAtRange[]"`
	UserId            *int        `json:"user_id" form:"user_id"`
	PluginId          *int        `json:"plugin_id" form:"plugin_id"`
	OrderId           *int        `json:"order_id" form:"order_id"`
	Status            string      `json:"status" form:"status"`
	StartTimeRange    []time.Time `json:"start_timeRange" form:"start_timeRange[]"`
	EndTimeRange      []time.Time `json:"end_timeRange" form:"end_timeRange[]"`
	LastUsedTimeRange []time.Time `json:"last_used_timeRange" form:"last_used_timeRange[]"`
	request.PageInfo
	Sort  string `json:"sort" form:"sort"`
	Order string `json:"order" form:"order"`
}
